import { Module } from '@nestjs/common'
import { GirlController } from './girl.controller'
import { GirlService } from './girl.service'
import { TypeOrmModule } from '@nestjs/typeorm'

// 引入数据库实体
import { Girl } from './girl.entity'

@Module({
  imports: [TypeOrmModule.forFeature([Girl])],
  controllers: [GirlController],
  providers: [GirlService]
})
export class GirlModule {}
